﻿<Window x:Class="RapidWPFDemo.Calculator"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:rl="clr-namespace:Jalindi.RapidLayout;assembly=RapidLayout2009.Windows"
    Title="Calculator" Height="166" Width="234">
    <rl:RapidPanel Name="Panel" ShouldDebug="True" StackMode="Horizontal">
                   <rl:RapidPanel.Guides>
        <rl:HorizontalGuide Name="screen" Top="preferred" Bottom="spring"></rl:HorizontalGuide>
            </rl:RapidPanel.Guides>
<TextBox rl:RapidPanel.Left="preferred" rl:RapidPanel.Top="preferred"
         rl:RapidPanel.Horizontal="spring" rl:RapidPanel.Right="preferred" 
         rl:RapidPanel.Bottom="t=screen"></TextBox>
        <Button Name="one"  Content="1111" rl:RapidPanel.Top="t=screen, preferred" rl:RapidPanel.Left="preferred" rl:RapidPanel.Bottom="spring"
                rl:RapidPanel.Horizontal="e=bb" VerticalAlignment="Top"></Button>
        <Button Name="two" Content="2" rl:RapidPanel.Left="tie,clamp,preferred,t=#previous"
                rl:RapidPanel.Horizontal="e=bb"></Button>
        <Button Name="three" Content="3" rl:RapidPanel.Left="tie,clamp,preferred,t=#previous"
                rl:RapidPanel.Horizontal="e=bb"></Button>
        <Button Height="23" Name="button1" Width="75" rl:RapidPanel.Left="clamp,t=#previous" >Button</Button>
    </rl:RapidPanel>
</Window>
